import base from "./base"; // 导入接口域名列表
import axios from "../http"; // 导入http中创建的axios实例
import qs from "qs"; // 根据需求是否导入qs模块
const getDz = {
  get_tutor_list(params) {
    return axios.post(`${base.bd}/admin/tutor/lists`, qs.stringify(params));
  },
  add_tutor_list(params) {
    return axios.post(`${base.bd}/admin/tutor/saveadd`, qs.stringify(params));
  },
  edit_tutor_list(params) {
    return axios.post(`${base.bd}/admin/tutor/saveedit`, qs.stringify(params));
  },
  del_tutor_list(params) {
    return axios.post(`${base.bd}/admin/tutor/del`, qs.stringify(params));
  },
  get_tutor_case(params) {
    return axios.post(
      `${base.bd}/admin/tutor_case/lists`,
      qs.stringify(params)
    );
  },
  add_tutor_case(params) {
    return axios.post(
      `${base.bd}/admin/tutor_case/saveadd`,
      qs.stringify(params)
    );
  },
  edit_tutor_case(params) {
    return axios.post(
      `${base.bd}/admin/tutor_case/saveedit`,
      qs.stringify(params)
    );
  },
  del_tutor_case(params) {
    return axios.post(`${base.bd}/admin/tutor_case/del`, qs.stringify(params));
  },

  get_tutor_comment(params) {
    return axios.post(
      `${base.bd}/admin/tutor_comment/lists`,
      qs.stringify(params)
    );
  },
  add_tutor_comment(params) {
    return axios.post(
      `${base.bd}/admin/tutor_comment/saveadd`,
      qs.stringify(params)
    );
  },
  edit_tutor_comment(params) {
    return axios.post(
      `${base.bd}/admin/tutor_comment/saveedit`,
      qs.stringify(params)
    );
  },
  del_tutor_comment(params) {
    return axios.post(
      `${base.bd}/admin/tutor_comment/del`,
      qs.stringify(params)
    );
  },
  get_personnel_list(params) {
    return axios.post(`${base.bd}/admin/personnel/lists`, qs.stringify(params));
  },
  add_personnel_list(params) {
    return axios.post(`${base.bd}/admin/personnel/saveadd`, qs.stringify(params));
  },
  edit_personnel_list(params) {
    return axios.post(`${base.bd}/admin/personnel/saveedit`, qs.stringify(params));
  },
  del_personnel_list(params) {
    return axios.post(`${base.bd}/admin/personnel/del`, qs.stringify(params));
  },

  get_red_list(params) {
    return axios.post(`${base.bd}/admin/red/lists`, qs.stringify(params));
  },
  get_red_all(params) {
    return axios.post(`${base.bd}/admin/red/lists_all`, qs.stringify(params));
  },
  get_message_list(params) {
    return axios.post(`${base.bd}/admin/im_chat/lists`, qs.stringify(params));
  },
  get_pk_list(params) {
    return axios.post(`${base.bd}/admin/pk/lists`, qs.stringify(params));
  },
  // 景区设置
  get_scenic_setting(params) {
    return axios.post(`${base.bd}/admin/jqsz/lists`, qs.stringify(params));
  },
  add_scenic_setting(params) {
    return axios.post(`${base.bd}/admin/jqsz/saveadd`, qs.stringify(params));
  },
  edit_scenic_setting(params) {
    return axios.post(`${base.bd}/admin/jqsz/saveedit`, qs.stringify(params));
  },
  single_scenic_setting(params) {
    return axios.post(`${base.bd}/admin/jqsz/edit`, qs.stringify(params));
  },
  del_scenic_setting(params) {
    return axios.post(`${base.bd}/admin/jqsz/del`, qs.stringify(params));
  },
  // 红包设置
  get_red_setting(params) {
    return axios.post(`${base.bd}/admin/jqhb/lists`, qs.stringify(params));
  },
  add_red_setting(params) {
    return axios.post(`${base.bd}/admin/jqhb/saveadd`, qs.stringify(params));
  },
  edit_red_setting(params) {
    return axios.post(`${base.bd}/admin/jqhb/saveedit`, qs.stringify(params));
  },
  single_red_setting(params) {
    return axios.post(`${base.bd}/admin/jqhb/edit`, qs.stringify(params));
  },
  del_red_setting(params) {
    return axios.post(`${base.bd}/admin/jqhb/del`, qs.stringify(params));
  },
  // 景区记录
  get_scenic_record(params) {
    return axios.post(`${base.bd}/admin/jqjl/lists`, qs.stringify(params));
  },
  add_scenic_record(params) {
    return axios.post(`${base.bd}/admin/jqjl/saveadd`, qs.stringify(params));
  },
  edit_scenic_record(params) {
    return axios.post(`${base.bd}/admin/jqjl/saveedit`, qs.stringify(params));
  },
  single_scenic_record(params) {
    return axios.post(`${base.bd}/admin/jqjl/edit`, qs.stringify(params));
  },
  del_scenic_record(params) {
    return axios.post(`${base.bd}/admin/jqjl/del`, qs.stringify(params));
  },

  // 红包奖励记录
  get_red_reward(params) {
    return axios.post(`${base.bd}/admin/hbjl/lists`, qs.stringify(params));
  },
  add_red_reward(params) {
    return axios.post(`${base.bd}/admin/hbjl/saveadd`, qs.stringify(params));
  },
  edit_red_reward(params) {
    return axios.post(`${base.bd}/admin/hbjl/saveedit`, qs.stringify(params));
  },
  single_red_reward(params) {
    return axios.post(`${base.bd}/admin/hbjl/edit`, qs.stringify(params));
  },
  del_red_reward(params) {
    return axios.post(`${base.bd}/admin/hbjl/del`, qs.stringify(params));
  },

  // 用户激活记录
  get_user_activated(params) {
    return axios.post(`${base.bd}/admin/hbjh/lists`, qs.stringify(params));
  },
  add_user_activated(params) {
    return axios.post(`${base.bd}/admin/hbjh/saveadd`, qs.stringify(params));
  },
  edit_user_activated(params) {
    return axios.post(`${base.bd}/admin/hbjh/saveedit`, qs.stringify(params));
  },
  single_user_activated(params) {
    return axios.post(`${base.bd}/admin/hbjh/edit`, qs.stringify(params));
  },
  del_user_activated(params) {
    return axios.post(`${base.bd}/admin/hbjh/del`, qs.stringify(params));
  },


  // 用户推荐记录
  get_user_referral(params) {
    return axios.post(`${base.bd}/admin/user_yhjh/lists`, qs.stringify(params));
  },
  add_user_referral(params) {
    return axios.post(`${base.bd}/admin/user_yhjh/saveadd`, qs.stringify(params));
  },
  edit_user_referral(params) {
    return axios.post(`${base.bd}/admin/user_yhjh/saveedit`, qs.stringify(params));
  },
  single_user_referral(params) {
    return axios.post(`${base.bd}/admin/user_yhjh/edit`, qs.stringify(params));
  },
  del_user_referral(params) {
    return axios.post(`${base.bd}/admin/user_yhjh/del`, qs.stringify(params));
  },


  // 月排行榜
  get_month_board(params) {
    return axios.post(`${base.bd}/admin/user_yph/lists`, qs.stringify(params));
  },
  add_month_board(params) {
    return axios.post(`${base.bd}/admin/user_yph/saveadd`, qs.stringify(params));
  },
  edit_month_board(params) {
    return axios.post(`${base.bd}/admin/user_yph/saveedit`, qs.stringify(params));
  },
  single_month_board(params) {
    return axios.post(`${base.bd}/admin/user_yph/edit`, qs.stringify(params));
  },
  del_month_board(params) {
    return axios.post(`${base.bd}/admin/user_yph/del`, qs.stringify(params));
  },

  // 周排行榜
  get_week_board(params) {
    return axios.post(`${base.bd}/admin/user_zph/lists`, qs.stringify(params));
  },
  add_week_board(params) {
    return axios.post(`${base.bd}/admin/user_zph/saveadd`, qs.stringify(params));
  },
  edit_week_board(params) {
    return axios.post(`${base.bd}/admin/user_zph/saveedit`, qs.stringify(params));
  },
  single_week_board(params) {
    return axios.post(`${base.bd}/admin/user_zph/edit`, qs.stringify(params));
  },
  del_week_board(params) {
    return axios.post(`${base.bd}/admin/user_zph/del`, qs.stringify(params));
  },
  // IM群
  set_team_speak(params) {
    return axios.post(`${base.bd}/admin/im_team/team_qyjy`, qs.stringify(params));
  },
  // 设置管理权限
  set_teammember_manage(params) {
    return axios.post(`${base.bd}/admin/im_team/qxsz`, qs.stringify(params));
  },
  //个人禁言
  set_teammember_speak(params) {
    return axios.post(`${base.bd}/admin/im_team/team_grjy`, qs.stringify(params));
  },
  get_punch_search(params) {
    return axios.post(`${base.bd}/admin/jqjl/yjcx`, qs.stringify(params));
  },



  //-----------------------------------
  // 房票价格设置
  get_ticket_price(params) {
    return axios.post(`${base.bd}/admin/coin_price/lists`, qs.stringify(params));
  },
  add_ticket_price(params) {
    return axios.post(`${base.bd}/admin/coin_price/saveadd`, qs.stringify(params));
  },
  edit_ticket_price(params) {
    return axios.post(`${base.bd}/admin/coin_price/saveedit`, qs.stringify(params));
  },
  single_ticket_price(params) {
    return axios.post(`${base.bd}/admin/coin_price/edit`, qs.stringify(params));
  },
  del_ticket_price(params) {
    return axios.post(`${base.bd}/admin/coin_price/del`, qs.stringify(params));
  },

  // 补贴权益列表
  get_rights_list(params) {
    return axios.post(`${base.bd}/admin/coin_machine/lists`, qs.stringify(params));
  },
  add_rights_list(params) {
    return axios.post(`${base.bd}/admin/coin_machine/saveadd`, qs.stringify(params));
  },
  edit_rights_list(params) {
    return axios.post(`${base.bd}/admin/coin_machine/saveedit`, qs.stringify(params));
  },
  single_rights_list(params) {
    return axios.post(`${base.bd}/admin/coin_machine/edit`, qs.stringify(params));
  },
  del_rights_list(params) {
    return axios.post(`${base.bd}/admin/coin_machine/del`, qs.stringify(params));
  },

  // 补贴权益记录
  get_rights_record(params) {
    return axios.post(`${base.bd}/admin/coin_order/lists`, qs.stringify(params));
  },
  add_rights_record(params) {
    return axios.post(`${base.bd}/admin/coin_order/saveadd`, qs.stringify(params));
  },
  edit_rights_record(params) {
    return axios.post(`${base.bd}/admin/coin_order/saveedit`, qs.stringify(params));
  },
  single_rights_record(params) {
    return axios.post(`${base.bd}/admin/coin_order/edit`, qs.stringify(params));
  },
  del_rights_record(params) {
    return axios.post(`${base.bd}/admin/coin_order/del`, qs.stringify(params));
  },


  // 认筹租赁设置
  get_rent_list(params) {
    return axios.post(`${base.bd}/admin/rczlsz/lists`, qs.stringify(params));
  },
  add_rent_list(params) {
    return axios.post(`${base.bd}/admin/rczlsz/saveadd`, qs.stringify(params));
  },
  edit_rent_list(params) {
    return axios.post(`${base.bd}/admin/rczlsz/saveedit`, qs.stringify(params));
  },
  single_rent_list(params) {
    return axios.post(`${base.bd}/admin/rczlsz/edit`, qs.stringify(params));
  },
  del_rent_list(params) {
    return axios.post(`${base.bd}/admin/rczlsz/del`, qs.stringify(params));
  },

  // 认筹租赁手续费
  get_rent_fee(params) {
    return axios.post(`${base.bd}/admin/rczlsxf/lists`, qs.stringify(params));
  },
  add_rent_fee(params) {
    return axios.post(`${base.bd}/admin/rczlsxf/saveadd`, qs.stringify(params));
  },
  edit_rent_fee(params) {
    return axios.post(`${base.bd}/admin/rczlsxf/saveedit`, qs.stringify(params));
  },
  single_rent_fee(params) {
    return axios.post(`${base.bd}/admin/rczlsxf/edit`, qs.stringify(params));
  },
  del_rent_fee(params) {
    return axios.post(`${base.bd}/admin/rczlsxf/del`, qs.stringify(params));
  },

  // 认筹租赁记录
  get_rent_record(params) {
    return axios.post(`${base.bd}/admin/rczljl/lists`, qs.stringify(params));
  },
  add_rent_record(params) {
    return axios.post(`${base.bd}/admin/rczljl/saveadd`, qs.stringify(params));
  },
  edit_rent_record(params) {
    return axios.post(`${base.bd}/admin/rczljl/saveedit`, qs.stringify(params));
  },
  check_rent_record(params) {
    return axios.post(`${base.bd}/admin/rczljl/check`, qs.stringify(params));
  },
  single_rent_record(params) {
    return axios.post(`${base.bd}/admin/rczljl/edit`, qs.stringify(params));
  },
  del_rent_record(params) {
    return axios.post(`${base.bd}/admin/rczljl/del`, qs.stringify(params));
  },



  get_rights_cate(params) {
    return axios.post(`${base.bd}/admin/qyfl/lists`, qs.stringify(params));
  },
  add_rights_cate(params) {
    return axios.post(`${base.bd}/admin/qyfl/saveadd`, qs.stringify(params));
  },
  edit_rights_cate(params) {
    return axios.post(`${base.bd}/admin/qyfl/saveedit`, qs.stringify(params));
  },
  single_rights_cate(params) {
    return axios.post(`${base.bd}/admin/qyfl/edit`, qs.stringify(params));
  },
  del_rights_cate(params) {
    return axios.post(`${base.bd}/admin/qyfl/del`, qs.stringify(params));
  },


  get_rent_cate(params) {
    return axios.post(`${base.bd}/admin/rcfl/lists`, qs.stringify(params));
  },
  add_rent_cate(params) {
    return axios.post(`${base.bd}/admin/rcfl/saveadd`, qs.stringify(params));
  },
  edit_rent_cate(params) {
    return axios.post(`${base.bd}/admin/rcfl/saveedit`, qs.stringify(params));
  },
  single_rent_cate(params) {
    return axios.post(`${base.bd}/admin/rcfl/edit`, qs.stringify(params));
  },
  del_rent_cate(params) {
    return axios.post(`${base.bd}/admin/rcfl/del`, qs.stringify(params));
  },

  close_order_list(params) {
    return axios.post(`${base.bd}/admin/order/close_order`, qs.stringify(params));
  },


  
};
export default getDz;
